xfi:unit

element(xbrli:unit)?=xfi:unit( $item as schema-element(xbrli:item))

Last updated on 14-02-2008 at 00:00:00.

Returns the unit for a numeric item.

XBRL 2.1 Section 4.8

OIM Status

Unsupported

Parameters

Name Type Details
item schema-element(xbrli:item) The item that the unit is required for.

Output

Type: element(xbrli:unit)?

Returns the unit whose id attribute value is equal to the item’s unitRef attribute value. For non-numeric items and items with the xbrli:fractionItemType or a data type derived from the xbrli:fractionItemType, the empty sequence is returned.

Conformance suite

80102 xfi.unit testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Geoff Shuetrim Galexy geoff@galexy.net 14-02-2008 at 12:22:00

Revisions

Name On Details
Geoff Shuetrim 14-02-2008 at 00:00:00 Defined the function.